package core.security;

import java.util.Set;

import org.springframework.security.core.userdetails.UserDetails;

public interface MyUserDetail extends UserDetails {
	//用户id
	public Long getUserid();

	//用户名
	public String getUsername();

	//用户密码
	public String getUserpassword();

	//是否超级用户
	public Boolean getIsadmin();
	
	//用户相对应的角色集
	public Set<?> getUsrUserRoles();
}

